<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!-- 博客内容页面 -->
<div class="data_list">
	<div class="data_list_title">
		<span class="glyphicon glyphicon-user" style="width:18px;"></span>最新博客
	</div>
	<div class="datas">
		<ul>
			<c:forEach items="${blogList }" var="i">
				<li style="style="margin-bottom: 30px">
					<span class="date"><a href="${pageContext.request.contextPath }/blog/articles/${i.id}.html"><fmt:formatDate value="${i.releaseDate }" type="date" pattern="yyyy年MM月dd日"/></a></span>
					<span class="title"><a href="${pageContext.request.contextPath}/blog/articles/${i.id}.html">${i.title }</a></span>
					<span class="summary">摘要: ${i.summary }...</span>
					<span class="info">发表于<fmt:formatDate value="${i.releaseDate }" type="date" pattern="yyyy-MM-dd HH:mm"/> 浏览(${i.clickHit }) 评论(${i.replyHit })</span>
				</li>
				<hr style="height:5px;border:none;border-top:1px dashed gray;padding-buttom:10px;" />
			</c:forEach>
		</ul>
	</div>
</div>
<!-- 分页栏 -->
<div>
	<nav>
	  <ul class="pagination pagination-sm">
	    ${pageCode }
	  </ul>
	</nav>
	
 </div>

